package edu.yctc.origin.entity;

import java.util.Date;

/**
 * userDO实体类
 * 
 * @author 赵宜珺
 */
public class UserDO {

    /** 主键 */
    private long id;
    /** 邮箱 */
    private String mail;
    /** 登陆账号 */
    private String number;
    /** 密码 */
    private String password;
    /** 创建时间 */
    private Date createTime;
    /** 修改时间 */
    private Date modifyTime;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("UserDO [id=");
        builder.append(id);
        builder.append(", mail=");
        builder.append(mail);
        builder.append(", number=");
        builder.append(number);
        builder.append(", password=");
        builder.append(password);
        builder.append(", createTime=");
        builder.append(createTime);
        builder.append(", modifyTime=");
        builder.append(modifyTime);
        builder.append("]");
        return builder.toString();
    }
}
